import spirecloudword
from spirecloudword import *

appId = "your id"
appKey = "your key"
baseUrl = "https://api.e-iceblue.cn"
configuration = Configuration(appId, appKey, baseUrl)
api = spirecloudword.api.images_api.ImagesApi(configuration)

file_name = 'DeleteImage.docx'
extra = {
    'folder': 'input',
    'paragraph_path': 'Section/0/Body/0/Paragraph/0',
    'index': '0',
    'dest_file_path': 'output/DeleteImage_2.docx'}
api.delete_image(file_name, **extra);